package com.bbcare.cp.plat.entity.cp;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 * @name: pt_excp_rd异常记录表实体类
 * @author: DemonLee
 * @createTime: 2017.6.9
 * @description: 处理异常的记录
 * @modify:
 * 
 */

@Entity
public class PtExcpRd implements Serializable {
    private static final long serialVersionUID = 1L;
    // 异常id
    private String id;
    // 任务id
    private String taskId;
    // 患者id
    private String userId;
    // 患者队列实例id
    private String ptSchemeid;
    // 队列id
    private String queueId;
    // 异常类型，0系统异常，1应用异常
    private String excpType;
    // 异常状态，暂未启用
    private String excpStatus;
    // 更新时间
    private String updateTime;
    // 创建时间
    private String createTime;
    // 更新流水
    private String updateAccept;
    // 更新人id
    private String updateAuthor;
    // 操作编码
    private String opCode;
    // 操作类型，1：患者自助，2：门诊(患者相关)，3：医生自助(方案、队列管理等)，5：系统后台..
    private String opType;
    // 租户id
    private String tenantId;
    // 错误信息
    private String errMsg;
    // 规则id
    private String ruleId;
    // 节点实例id
    private String ptNodeId;
    // 项目id
    private String projectId;

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setPtSchemeid(String ptSchemeid) {
        this.ptSchemeid = ptSchemeid;
    }

    public String getPtSchemeid() {
        return ptSchemeid;
    }

    public void setQueueId(String queueId) {
        this.queueId = queueId;
    }

    public String getQueueId() {
        return queueId;
    }

    public void setExcpType(String excpType) {
        this.excpType = excpType;
    }

    public String getExcpType() {
        return excpType;
    }

    public void setExcpStatus(String excpStatus) {
        this.excpStatus = excpStatus;
    }

    public String getExcpStatus() {
        return excpStatus;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setUpdateAccept(String updateAccept) {
        this.updateAccept = updateAccept;
    }

    public String getUpdateAccept() {
        return updateAccept;
    }

    public void setUpdateAuthor(String updateAuthor) {
        this.updateAuthor = updateAuthor;
    }

    public String getUpdateAuthor() {
        return updateAuthor;
    }

    public void setOpCode(String opCode) {
        this.opCode = opCode;
    }

    public String getOpCode() {
        return opCode;
    }

    public void setOpType(String opType) {
        this.opType = opType;
    }

    public String getOpType() {
        return opType;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getPtNodeId() {
        return ptNodeId;
    }

    public void setPtNodeId(String ptNodeId) {
        this.ptNodeId = ptNodeId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }
}
